package com.lx.oms.controller.dao;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import com.lx.oms.common.dao.BaseMapper;
import com.lx.oms.common.entity.Query;
import com.lx.oms.controller.entity.FactoryEntity;


/**
 * 厂名
 * @author houzhong
 * @date 2018年10月24日 下午1:26:13
 */
@MapperScan
public interface FactoryMapper extends BaseMapper<FactoryEntity> {
	
	FactoryEntity getFactoryByName(String name);
	
	List<FactoryEntity> listByFactory(Query query);
}
